package main

import (
	"fmt"
)

// START OMIT
type Fish struct{ Ocean string }

func (f *Fish) Swim() {
	fmt.Println("swim swim swim in the", f.Ocean)
}

type Cat struct{ Life int }

type CatFish struct {
	Cat
	Fish
}

func main() {
	catfish := CatFish{
		Cat{Life: 9},
		Fish{Ocean: "Pacific"},
	}
	fmt.Println(catfish.Life, "lifes left")
	catfish.Swim()
}

// STOP OMIT
